"Text animation"
Bootstrap 4.1.1 Snippet by ALIMUL AL RAZY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div id='wrap'>
<div class='inner'>
<h1 data-splitting='words'>Splitting creates elements and adds</h1>
</h3>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.4/TweenMax.min.js"></script>
<script src="https://unpkg.com/splitting@1.0.5/dist/splitting.js"></script>
<script>
Splitting();
</script>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background: radial-gradient(circle at center, #222, #000);
color: #fff;
}
body * {
box-sizing: border-box;
}
body #wrap {
width: 400px;
height: 400px;
position: relative;
overflow: hidden;
}
body #wrap:before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: url("https://puu.sh/Blj4e/88c7a2d9f4.png");
background-size: cover;
-webkit-animation: zoomin 2.25s ease-in-out 1 forwards;
animation: zoomin 2.25s ease-in-out 1 forwards;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
@-webkit-keyframes zoomin {
to {
-webkit-transform: scale(1.05);
transform: scale(1.05);
opacity: 0.3;
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: